<?php

namespace Core;

class CashierController extends API_Controller
{
	public function __construct()
	{
		parent::__construct();
		if (!$this->session->cashier) {
			$this->response(['error' => 'please login again', 'code' => 1], 401);
			exit;
		}
	}
}
